The HexToDec XFCN takes any hexadecimal number of 8 or fewer digits and converts it into the corresponding signed long integer. Try the deomonstration below to clarify any questions you may have. Just type in the hex number into the hex field and then click on the Convert button to see its corresponding decimal value appear in the decimal field.
Note that the hex parameter may begin with an optional H-prefix. The hexadecimal digits A-F may appear as either upper or lowercase in the hexstring.